package com.eaoa.uc.attachment.form;

import java.sql.Blob;
import java.util.Date;

import org.apache.struts.upload.FormFile;

import com.eaoa.base.EABaseForm;
import com.eaoa.vo.pub.PubAttachment;

public class AttachmentForm extends EABaseForm {
	private static final long serialVersionUID = -6920094792623044715L;
	private Long attachmentno;
	private String attachmentname;
	private String extendname;
	private Blob content;
	private String attachmenttype;
	private String createbyname;
	private Date createdate;
	private Long relatedno;
	private String remark;
	private String islock;
	private FormFile attachmentfile;

	public PubAttachment getVO() {
		PubAttachment attachment = new PubAttachment();
		attachment.setAttachmenttype(attachmenttype);
		attachment.setRelatedno(relatedno);
		return attachment;
	}
	

	public FormFile getAttachmentfile() {
		return attachmentfile;
	}

	public void setAttachmentfile(FormFile attachmentfile) {
		this.attachmentfile = attachmentfile;
	}

	public Long getAttachmentno() {
		return attachmentno;
	}

	public void setAttachmentno(Long attachmentno) {
		this.attachmentno = attachmentno;
	}

	public String getAttachmentname() {
		return attachmentname;
	}

	public void setAttachmentname(String attachmentname) {
		this.attachmentname = attachmentname;
	}

	public String getExtendname() {
		return extendname;
	}

	public void setExtendname(String extendname) {
		this.extendname = extendname;
	}

	public Blob getContent() {
		return content;
	}

	public void setContent(Blob content) {
		this.content = content;
	}

	public String getAttachmenttype() {
		return attachmenttype;
	}

	public void setAttachmenttype(String attachmenttype) {
		this.attachmenttype = attachmenttype;
	}

	public String getCreatebyname() {
		return createbyname;
	}

	public void setCreatebyname(String createbyname) {
		this.createbyname = createbyname;
	}

	public Date getCreatedate() {
		return createdate;
	}

	public void setCreatedate(Date createdate) {
		this.createdate = createdate;
	}

	public Long getRelatedno() {
		return relatedno;
	}

	public void setRelatedno(Long relatedno) {
		this.relatedno = relatedno;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getIslock() {
		return islock;
	}

	public void setIslock(String islock) {
		this.islock = islock;
	}
	

}
